﻿using System;
using System.Collections.Generic;
namespace SF.Model
{
	/// <summary>
	/// 商品详情
	/// </summary>
	[Serializable]
	public partial class sf_goods_info
	{
		public sf_goods_info()
		{}
		#region Model
		private long _id;
		private string _busniesenum;
		private string _appnum;
		private string _templatesnum;
		private string _goodsnum;
		private string _typenum;
		private string _names;
		private string _brandname;
		private string _place;
		private string _unit;
		private string _validtime;
		private string _suitperson;
		private string _remark;
		private string _times;
		private int? _num;
		private decimal? _costprice;
		private decimal? _showprice;
		private decimal? _salesprice;
        private int? _sort;
        private List<Model.sf_goods_img> _goodsimgs;
        private List<Model.sf_goods_amounts> _goodsamounts;
		private string _showimgs;
		private int? _status=1;
		private int? _ishot=1;
        private string _goodstypenum;
		/// <summary>
		/// 自增Id
		/// </summary>
		public long id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 商户编号
		/// </summary>
		public string busnieseNum
		{
			set{ _busniesenum=value;}
			get{return _busniesenum;}
		}
		/// <summary>
		/// 公众号编号
		/// </summary>
		public string appNum
		{
			set{ _appnum=value;}
			get{return _appnum;}
		}
		/// <summary>
		/// 前台模版编号
		/// </summary>
		public string templatesNum
		{
			set{ _templatesnum=value;}
			get{return _templatesnum;}
		}
		/// <summary>
		/// 商品编号
		/// </summary>
		public string goodsNum
		{
			set{ _goodsnum=value;}
			get{return _goodsnum;}
		}
		/// <summary>
		/// 类型编号
		/// </summary>
		public string typeNum
		{
			set{ _typenum=value;}
			get{return _typenum;}
		}
		/// <summary>
		/// 商品名称
		/// </summary>
		public string names
		{
			set{ _names=value;}
			get{return _names;}
		}
		/// <summary>
		/// 品牌名称
		/// </summary>
		public string brandName
		{
			set{ _brandname=value;}
			get{return _brandname;}
		}
		/// <summary>
		/// 产地
		/// </summary>
		public string place
		{
			set{ _place=value;}
			get{return _place;}
		}
		/// <summary>
		/// 单位
		/// </summary>
		public string unit
		{
			set{ _unit=value;}
			get{return _unit;}
		}
		/// <summary>
		/// 有效期
		/// </summary>
		public string validTime
		{
			set{ _validtime=value;}
			get{return _validtime;}
		}
		/// <summary>
		/// 适合人群
		/// </summary>
		public string suitPerson
		{
			set{ _suitperson=value;}
			get{return _suitperson;}
		}
		/// <summary>
		/// 其他描述(包含文字和图片混排)
		/// </summary>
		public string remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 上市年月
		/// </summary>
		public string times
		{
			set{ _times=value;}
			get{return _times;}
		}
		/// <summary>
		/// 数量（针对无其它属性商品）
		/// </summary>
		public int? num
		{
			set{ _num=value;}
			get{return _num;}
		}
		/// <summary>
		/// 进货价
		/// </summary>
		public decimal? costPrice
		{
			set{ _costprice=value;}
			get{return _costprice;}
		}
		/// <summary>
		/// 显示价
		/// </summary>
		public decimal? showPrice
		{
			set{ _showprice=value;}
			get{return _showprice;}
		}
		/// <summary>
		/// 销售价
		/// </summary>
		public decimal? salesPrice
		{
			set{ _salesprice=value;}
			get{return _salesprice;}
		}
		/// <summary>
		/// 排序
		/// </summary>
		public int? sort
		{
			set{ _sort=value;}
			get{return _sort;}
		}
		/// <summary>
		/// 商品图片
		/// </summary>
		public string showImgs
		{
			set{ _showimgs=value;}
			get{return _showimgs;}
		}
		/// <summary>
		/// 商品状态
		/// </summary>
		public int? status
		{
			set{ _status=value;}
			get{return _status;}
		}
		/// <summary>
		/// 1-新品上架（默认），2-精选商品，3-特惠商品
		/// </summary>
		public int? ishot
		{
			set{ _ishot=value;}
			get{return _ishot;}
		}
		/// <summary>
		/// 商品类别，例：衣服、裤子、鞋子
		/// </summary>
        public string goodsTypeNum
		{
			set{ _goodstypenum=value;}
			get{return _goodstypenum;}
		}

        /// <summary>
        /// 图片相册
        /// </summary>
        public List<Model.sf_goods_img> goodsImgs
        {
            set { _goodsimgs = value; }
            get { return _goodsimgs; }
        }

        /// <summary>
        /// 库存集合
        /// </summary>
        public List<Model.sf_goods_amounts> goodsAmounts
        {
            set { _goodsamounts = value; }
            get { return _goodsamounts; }
        }
		#endregion Model

	}
}

